package com.timing.finder.framework;

import java.util.List;
import java.util.Map;

/**
 * DB存储库
 *
 * @author JingGe(* ^ ▽ ^ *)
 * @date 2023-03-03 14:07
 * @email 1158055613@qq.com
 */
public interface DBRepository<T extends TimeSeriesData> extends Repository {

    List<T> query(Map<String, Object> params, int batchNum, int batchSize, long startID, long endID);

    int save(List<T> seriesData);

}
